package generatedjava;

import java_cup.runtime.Symbol;
import java.io.*;

public class MainSwag
{
	public static void main(String[] args) throws Exception
	{
		MyAnalyser yy;
		if (args.length > 0)
			yy = new MyAnalyser(new FileInputStream(args[0]));
		else
			yy = new MyAnalyser(System.in);
		parser p = new parser(yy);
		Symbol result = p.parse();
		System.out.println("Evaluation = " + result.value);
	}
}
